Skip to content

Add 20 campaign, QR design, and library features - #4

Merged
nearbycoder merged 1 commit into
mainfrom
codex/campaign-qr-library-workspace
Oct 3, 2026
Merged

nearbycoder merged 1 commit into
mainfrom
codex/campaign-qr-library-workspace

Conversation

@nearbycoder

Copy link
Copy Markdown
Owner

Campaign authors can now prepare a destination, customize and export a QR, and hand the completed campaign URL into the existing managed-code builder. The library gains persistent favorites, destination-domain filtering, and saved views. This adds the 20 requested functionalities; the numbered inventory and browser-storage behavior are documented in README.

The toolkit includes website, UTC calendar event, place, and social-profile formats; campaign presets, UTM import/normalization, batch variants CSV, and managed handoff; saved/portable drafts; design presets, colors, contrast guards, export resolutions, JPEG/WebP, and filenames. Preferences are validated and scoped by account plus workspace, with blocked/corrupt storage handled safely and Wi-Fi passwords omitted from drafts.

Shared styles use a consistent light/dark palette, aligned labeled controls, quiet borders, grouped actions, and accessible mobile account-menu labels. Mobbin references were retrieved by the coordinating session and visually inspected for this review: Braintrust library and Claude utility.

Validation:

  • Typecheck, production build, Biome checks on 37 affected TypeScript files, and diff whitespace checks passed.
  • 61 unit tests passed, including campaign escaping, calendar validation, draft sanitization, contrast, and browser-storage isolation/failure cases.
  • 37 affected Playwright journeys passed on desktop/mobile; 3 existing duplicate/inapplicable project tests intentionally skipped. Covers auth, onboarding, lifecycle, library ownership/bulk actions, old toolkit behavior, new formats, portable drafts, keyboard favorites, saved views, workspace/account isolation, and managed campaign redirects.
  • 18 exported assets decoded to expected payloads with ZBar: new content formats, PNG/JPEG/WebP/rasterized SVG designs, and managed tracking QR exports on both projects. Campaign redirect Location matched the fully escaped destination, including query parameters and fragment.
  • Desktop/mobile light/dark visual checks and automated accessibility checks on the inspected toolkit/library views found no violations.

Testing used newly created, isolated local databases. Earlier runs exposed reused-fixture quota/collision issues and an interrupted local asset refresh; the final run used fresh fixtures and the finished build and passed. No production changes, database/schema migrations, dependency upgrades, API response changes, or changes to existing managed short links. This PR is a draft for review and has not been merged or deployed.

@nearbycoder
nearbycoder marked this pull request as ready for review October 3, 2026 12:06
@nearbycoder
nearbycoder merged commit 5d1f334 into main Oct 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant